package com.ruoyi.report.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 留言板信息对象 t_leave_message
 * 
 * @author huanshihao
 * @date 2025-02-16
 */
public class LeaveMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 留言内容 */
    @Excel(name = "留言内容")
    private String leaveMessageContent;

    /** 图片 */
    @Excel(name = "图片")
    private String photo;

    /** $column.columnComment */
    @Excel(name = "图片")
    private String createById;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setLeaveMessageContent(String leaveMessageContent)
    {
        this.leaveMessageContent = leaveMessageContent;
    }

    public String getLeaveMessageContent()
    {
        return leaveMessageContent;
    }
    public void setPhoto(String photo)
    {
        this.photo = photo;
    }

    public String getPhoto()
    {
        return photo;
    }
    public void setCreateById(String createById)
    {
        this.createById = createById;
    }

    public String getCreateById()
    {
        return createById;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("leaveMessageContent", getLeaveMessageContent())
            .append("photo", getPhoto())
            .append("createById", getCreateById())
            .append("createTime", getCreateTime())
            .toString();
    }
}
